package com.wcards.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("领养信息表")
@TableName("adopt_info")
public class AdoptInfo implements Serializable {
    @ApiModelProperty("动物编号")
    private Integer animalNumbers;
    @ApiModelProperty("领养条件")
    private String term;
    @ApiModelProperty("动物介绍")
    private String animalIntroduce;
    @TableId(value = "adopt_numbers",type = IdType.AUTO)
    @ApiModelProperty("领养信息编号")
    private Integer adoptNumbers;
}
